package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.EnumParam;
import org.darkforest.model.EnumParamGiftDestributionVo;

import java.util.List;

@DBMapper
public interface EnumParamMapper {
    int deleteByPrimaryKey(Integer paramId);

    int insert(EnumParam record);

    int insertSelective(EnumParam record);

    EnumParam selectByPrimaryKey(Integer paramId);

    int updateByPrimaryKeySelective(EnumParam record);

    int updateByPrimaryKey(EnumParam record);

    /**
     * 根据条件查询
     * @param enumParam
     * @return
     */
    List<EnumParam> selectListByCondition(EnumParam enumParam);

    List<EnumParamGiftDestributionVo> selectListWithGiftDestributionByCondition(EnumParam enumParam);
}